home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 402 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  24.8 KB

  1. Path: hearst.acc.Virginia.EDU!adastra!mbs
  2. Newsgroups: comp.sys.amiga.networking
  3. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  4. Subject: Re: Best Mail Program for use with SLIP, SMTP, POP, AmiTCP?
  5. References: <1152.6571T599T1450@icenet.no> <2254.6583T915T2602@nutz.demon.co.uk>
  6. X-NewsReader: GRn 3.0b25 January 10, 1996
  7. MIME-Version: 1.0
  8. Content-Type: text/plain; charset=iso-8859-1
  9. Content-Transfer-Encoding: 8bit
  10. Message-ID: <mbs.477q@adastra.cvl.va.us>
  11. Date: Fri, 12 Jan 96 12:39:03 EDT
  12. Organization: Only if you insist...
  13.  
  14. In article <2254.6583T915T2602@nutz.demon.co.uk> jon@nutz.demon.co.uk (Jonathan Rhys Evans) writes:
  15. > I haven't configured Thor as yet with this ISP and currently use AmiPOP
  16. > to collect my mail. For posting mail I use SendMail, RMail and Graham Walters
  17. > mailkick via SMTP. I wish someone would write a good SMTP mailer type program
  18. > that was configurable via a good GUI or used tooltypes, I hate all these
  19. > environment variables etc.
  20.  
  21. I won't try to change your mind about what you "hate", but it really
  22. isn't as complicated as it may seem. The Amigaguide file below should
  23. help. See the node named "oldrequirements".
  24.  
  25. GRn and GMail (and Voodoo, too) all use either GUI configurations and/or
  26. tooltypes. The downside of THAT, is you have to configure every program
  27. if you don't set up the INet:s/Config file.
  28. --
  29.   //   Michael B. Smith
  30. \X/    mbs@adastra.cvl.va.us
  31.  
  32. @database ConfigVars.guide
  33. @Author "Michael B. Smith"
  34. @$VER: ConfigVars.guide 1.0 (29.12.95)
  35. @Width 80
  36. @SmartWrap
  37. #@Font topaz.font 11
  38.  
  39. @Node Main "ConfigVars"
  40. @{b}ConfigVars@{ub}                                @{b}ConfigVars@{ub}
  41.  
  42.  
  43. @{b}INet:s/Config@{ub} is intended as a general purpose registry for program
  44. configuration, where those programs are TCP-stack related. As such, we document
  45. all of the variables which I-Net 225 uses.
  46.  
  47.  
  48. The user does not have to use the @{b}INet:s/Config@{ub} file for setting
  49. configuration information. All values will first be read from the program's
  50. environment, before any value in that file is checked. In order of hierarchy,
  51. the following applies:
  52.  
  53.  
  54.     a program's local environment
  55.  
  56.     the global environment
  57.  
  58.     the contents of @{b}INet:s/Config@{ub}
  59.  
  60.  
  61. If you are using any of the @{b}INetUtils@{ub}, @{b}GRn@{ub}, or @{b}GMail@{ub} programs,
  62. this information also applies to you. If your version was compiled
  63. for AmiTCP or UUCP, instead of for I-Net 225, the filename used is S:UUConfig.
  64.  
  65.  
  66. If your TCP/IP stack has been installed correctly, then you are not @{u}required@{uu} to
  67. set any values in this file. The only required settings are:
  68.  
  69.  
  70.     @{"User" link user}
  71.  
  72.  
  73.     @{"Hostname" link hostname}
  74.  
  75.  
  76. and these are set by both available TCP/IP stacks in the global environment.
  77.  
  78.  
  79. However, if you using an @{u}old@{uu} version of INetUtils (the freeware
  80. version 1.4 or before) you should read @{"this section" link oldrequirements} of
  81. this manual.
  82.  
  83.  
  84. Configuration falls into three categories: general, mail, and news. Select the
  85. button for the area in which you are interested.
  86.  
  87.  
  88.     @{"General" link configgeneral}
  89.  
  90.  
  91.     @{"Mail" link configmail}
  92.  
  93.  
  94.     @{"News" link confignews}
  95.  
  96.  
  97. There are also some configuration variables commonly used by other programs.
  98. Click @{"here" link otherstuff} for descriptions of those.
  99.  
  100.  
  101. @EndNode
  102.  
  103. @Node oldrequirements "Requirements for INetUtils 1.4 and prior"
  104.  
  105.  
  106. This is @{u}only@{uu} for @{b}old@{ub} versions of INetUtils and GRn.
  107.  
  108.  
  109. Freeware versions of INetUtils required more configuration, due to having
  110. fewer defaults defined. In general, you @{u}had@{uu} to configure these
  111. items:
  112.  
  113.  
  114.     @{u}General@{uu}
  115.  
  116.  
  117.     User
  118.  
  119.     Nodename
  120.  
  121.     Hostname
  122.  
  123.     LibDir
  124.  
  125.  
  126.     @{u}Mail@{uu}
  127.  
  128.  
  129.     SMTPMailDir
  130.  
  131.     SMTPSmarterHost
  132.  
  133.     SMTPSpoolDir
  134.  
  135.  
  136.     @{u}News@{uu}
  137.  
  138.  
  139.     NewsDir
  140.  
  141.  
  142. GRn versions prior to 3.0 also required UUSpool, @{u}only@{uu} to define
  143. where to place its logfile.
  144.  
  145.  
  146. However, this is not as bad as it may appear. Nodename should be, for all
  147. intents and purposes, the same as Hostname. The other values need only to
  148. be set once, and then can be left alone. User and Hostname should be set
  149. by your TCP/IP stack.
  150.  
  151.  
  152. Contrary to some beliefs, INetUtils does not require UUCP to be installed
  153. before. For explanations of each of these values, see the descriptive text
  154. in other places in this document.
  155.  
  156.  
  157. Thus, a simple script like that shown below, running after your network
  158. connection is active, and it will take care of any problems.
  159.  
  160.  
  161. Note that there are two scripts,
  162. the first is for AS225, the other is for AmiTCP. They differ only in
  163. selected directory locations. If you have I-Net 225, or the commercial
  164. version of INetUtils, you do not need to execute these scripts. Also note
  165. that you can "assign inet: amitcp:" and run the AS225 version just as
  166. easily as the AmiTCP version.
  167.  
  168.  
  169. It is recommended that you select a proper value for SMTPSmarterhost; however,
  170. the value below will get you running. Your network provider can tell you what
  171. the correct value is.
  172.  
  173.  
  174. AS225 script:
  175.  
  176.  
  177.     setenv libdir inet:s
  178.  
  179.     setenv uuspool inet:
  180.  
  181.     setenv nodename $hostname
  182.  
  183.     if not exists inet:mail
  184.  
  185.         makedir inet:mail
  186.  
  187.     endif
  188.  
  189.     setenv smtpmaildir inet:mail
  190.  
  191.     if not exists inet:mailspool
  192.  
  193.         makedir inet:mailspool
  194.  
  195.     endif
  196.  
  197.     setenv smtpmailspool inet:mailspool
  198.  
  199.     if "$smtpsmarterhost" eq ""
  200.  
  201.         setenv smtpsmarterhost dummy
  202.  
  203.     endif
  204.  
  205.     if "$smtpsmarterhost" eq "*$smtpsmarterhost"
  206.  
  207.         setenv smtpsmarterhost dummy
  208.  
  209.     endif
  210.  
  211.     if not exists inet:news
  212.  
  213.         makedir inet:news
  214.  
  215.     endif
  216.  
  217.     setenv newsdir inet:news
  218.  
  219.  
  220. AmiTCP script:
  221.  
  222.  
  223.     setenv libdir amitcp:db
  224.  
  225.     setenv uuspool amitcp:
  226.  
  227.     setenv nodename $hostname
  228.  
  229.     if not exists amitcp:mail
  230.  
  231.         makedir amitcp:mail
  232.  
  233.     endif
  234.  
  235.     setenv smtpmaildir amitcp:mail
  236.  
  237.     if not exists amitcp:mailspool
  238.  
  239.         makedir amitcp:mailspool
  240.  
  241.     endif
  242.  
  243.     setenv smtpmailspool amitcp:mailspool
  244.  
  245.     if "$smtpsmarterhost" eq ""
  246.  
  247.         setenv smtpsmarterhost dummy
  248.  
  249.     endif
  250.  
  251.     if "$smtpsmarterhost" eq "*$smtpsmarterhost"
  252.  
  253.         setenv smtpsmarterhost dummy
  254.  
  255.     endif
  256.  
  257.     if not exists amitcp:news
  258.  
  259.         makedir amitcp:news
  260.  
  261.     endif
  262.  
  263.     setenv newsdir amitcp:news
  264.  
  265.  
  266. @Endnode
  267.  
  268. @Node configgeneral "General Configuration"
  269.  
  270.  
  271. General configuration elements affect both news and mail, or even
  272. other aspects of the TCP stack.
  273.  
  274.  
  275. The relevant items are:
  276.  
  277.  
  278.     @{"User" link user}
  279.  
  280.  
  281.     @{"Realname" link realname}
  282.  
  283.  
  284.     @{"Nodename" link nodename}
  285.  
  286.  
  287.     @{"Domainname" link domainname}
  288.  
  289.  
  290.     @{"Hostname" link hostname}
  291.  
  292.  
  293.     @{"Logfile" link logfile}
  294.  
  295.  
  296.     @{"LibDir" link libdir}
  297.  
  298.  
  299.     @{"TimeZone" link timezone}
  300.  
  301.  
  302. @EndNode
  303.  
  304. @Node configmail "Mail Configuration"
  305.  
  306.  
  307. Mail configuration variables affect only mail. If you are not using
  308. features dealing with mail, they need not be set.
  309.  
  310.  
  311. The relevant items are:
  312.  
  313.  
  314.     @{"SMTPPost" link smtppost}
  315.  
  316.  
  317.     @{"SMTPSpoolDir" link smtpspooldir}
  318.  
  319.  
  320.     @{"SMTPMailDir" link smtpmaildir}
  321.  
  322.  
  323.     @{"SMTPRMail" link smtprmail}
  324.  
  325.  
  326.     @{"SMTPDelay" link smtpdelay}
  327.  
  328.  
  329.     @{"SMTPRoute" link smtproute}
  330.  
  331.  
  332.     @{"SMTPAlwaysQueue" link smtpalwaysqueue}
  333.  
  334.  
  335.     @{"HostAliases" link hostaliases}
  336.  
  337.  
  338.     @{"CheckUser" link checkuser}
  339.  
  340.  
  341.     @{"SmartFrom" link smartfrom}
  342.  
  343.  
  344.     @{"UUCPSendMail" link uucpsendmail}
  345.  
  346.  
  347.     @{"MailReadyCMD" link mailreadycmd}
  348.  
  349.  
  350. @EndNode
  351.  
  352. @Node confignews "News Configuration"
  353.  
  354.  
  355. News configuration variables affect only news. If you are not using features
  356. dealing with news, they need not be set.
  357.  
  358.  
  359. The relevant items are:
  360.  
  361.  
  362.     @{"NewsDir" link newsdir}
  363.  
  364.  
  365.     @{"NNTPRNews" link nntprnews}
  366.  
  367.  
  368.     @{"NNTPServer" link nntpserver}
  369.  
  370.  
  371.     @{"NNTPUserid" link nntpuserid}
  372.  
  373.  
  374.     @{"NNTPPassword" link nntppassword}
  375.  
  376.  
  377. @EndNode
  378.  
  379. @Node user "Configuration - User"
  380.  
  381.  
  382. Local Environment:    set user mbs
  383.  
  384. Global Environment:    setenv user mbs
  385.  
  386. Configuration File:    user mbs
  387.  
  388. Default:        none
  389.  
  390.  
  391. "Username" is a deprecated synonym for "user".
  392.  
  393.  
  394. @{b}User@{ub} defines the login identity of the person using the computer. It is
  395. normally set by the login program of the TCP/IP stack. @{b}User@{ub} must
  396. exist in the password file.
  397.  
  398.  
  399. @{b}User@{ub} is used by various mail and news programs to construct the From: and/or
  400. Sender: headers used for identification purposes.
  401.  
  402.  
  403. I-Net 225 requires that the uid and gid specified in @{b}INet:s/inet.config@{ub} for
  404. @{b}User@{ub} also match the entries in the password file.
  405.  
  406.  
  407. @EndNode
  408.  
  409. @Node realname "Configuration - Realname"
  410.  
  411.  
  412. Local Environment:    set realname Mondo B. Sasquatch
  413.  
  414. Global Environment:    setenv realname Mondo B. Sasquatch
  415.  
  416. Configuration File:    Realname Mondo B. Sasquatch
  417.  
  418. Default:        none
  419.  
  420.  
  421. The @{b}Realname@{ub} is the proper name by which a computer user is to be known.
  422. It is used by various mail and news programs to construct the From: and/or
  423. Sender: headers used for identification purposes.
  424.  
  425.  
  426. @EndNode
  427.  
  428. @Node nodename "Configuration - Nodename"
  429.  
  430.  
  431. Local Environment:    set nodename mycomputer
  432.  
  433. Global Environment:    setenv nodename mycomputer
  434.  
  435. Configuration File:    Nodename mycomputer
  436.  
  437. Default:        none
  438.  
  439.  
  440. Use of this is not recommended. Use @{"Hostname" link hostname} instead.
  441.  
  442.  
  443. The @{b}Nodename@{ub} is normally the first piece of the @{b}Hostname@{ub} of a computer.
  444. For example, with a @{b}Hostname@{ub} of "mycomputer.somedomain.com" the @{b}Nodename@{ub}
  445. would be "mycomputer". The @{b}Domainname@{ub} would be ".somedomain.com".
  446.  
  447.  
  448. @EndNode
  449.  
  450. @Node domainname "Configuration - Domainname"
  451.  
  452.  
  453. Local Environment:    set domainname .somedomain.com
  454.  
  455. Global Environment:    setenv domainname .somedomain.com
  456.  
  457. Configuration File:    Domainname .somedomain.com
  458.  
  459. Default:        none
  460.  
  461.  
  462. Use of this is not recommended. Use @{"Hostname" link hostname} instead.
  463.  
  464.  
  465. The @{b}Domainname@{ub} is normally the rest of the @{b}Hostname@{ub} of a computer after
  466. the @{b}Nodename@{ub}. For
  467. example, with a @{b}Hostname@{ub} of "mycomputer.somedomain.com" the @{b}Nodename@{ub} would
  468. be "mycomputer". The @{b}Domainname@{ub} would be ".somedomain.com".
  469.  
  470.  
  471. @EndNode
  472.  
  473. @Node hostname "Configuration - Hostname"
  474.  
  475.  
  476. Local Environment:    set hostname mycomputer.com
  477.  
  478. Global Environment:    setenv hostname mycomputer.com
  479.  
  480. Configuration File:    Hostname mycomputer.com
  481.  
  482. Default:        none
  483.  
  484.  
  485. Be very careful if you set this. Normally, this should be set by the
  486. TCP/IP stack, and you should not modify it.
  487.  
  488.  
  489. @{b}Hostname@{ub} is the fully qualified domain name of the current computer.
  490.  
  491.  
  492. Various programs must be able to obtain the @{b}Hostname@{ub} of the computer.
  493. They will try to do this first from the @{b}Hostname@{ub} string, next
  494. from a combination of @{b}NodeName@{ub} and @{b}DomainName@{ub}, and finally
  495. from the TCP/IP stack API call @{b}gethostname()@{ub}. If all of these
  496. fail, the programs will display an error message and terminate.
  497.  
  498.  
  499. @EndNode
  500.  
  501. @Node logfile "Configuration - Logfile"
  502.  
  503.  
  504. Local Environment:    set logfile Work:INet225-logfile
  505.  
  506. Global Environment:    setenv logfile Work:INet225-logfile
  507.  
  508. Configuration File:    logfile Work:INet225-logfile
  509.  
  510. Default I-Net 225:    INet:Logfile
  511.  
  512. Default AmiTCP:     AmiTCP:Logfile
  513.  
  514. Default UUCP:        UUSpool:Logfile
  515.  
  516.  
  517. Various pieces of information concerning status and errors are
  518. stored in the @{b}Logfile@{ub}. You should examine/flush/empty this file
  519. on a regular basis.
  520.  
  521.  
  522. If you do not want logging information stored, you may set the
  523. @{b}Logfile@{ub} to NIL:.
  524.  
  525.  
  526. @EndNode
  527.  
  528.  
  529. @Node libdir "Configuration - LibDir"
  530.  
  531.  
  532. Local Environment:    set libdir INet:s
  533.  
  534. Global Environment:    setenv libdir INet:s
  535.  
  536. Configuration File:    LibDir INet:s
  537.  
  538. Default I-Net 225:    INet:s
  539.  
  540. Default AmiTCP:     UULib:
  541.  
  542. Default UUCP:        UULib:
  543.  
  544.  
  545. The @{b}LibDir@{ub} is the directory where certain files are stored. The files are:
  546.  
  547.  
  548.     <user>.header
  549.  
  550.     <user>.signature
  551.  
  552.     news/active
  553.  
  554.  
  555. The various mail and news programs will search for these files in that
  556. directory.
  557.  
  558.  
  559. @EndNode
  560.  
  561. @Node organization "Configuration - Organization"
  562.  
  563.  
  564. Local Environment:    set organization Not here, not ever.
  565.  
  566. Global Environment:    setenv organization Not here, not ever.
  567.  
  568. Configuration File:    Organization Not here, not ever.
  569.  
  570. Default:        none
  571.  
  572.  
  573. @{b}Organization@{ub} is an optional header for mail and news messages. If
  574. defined, the various mail and news programs will include this string
  575. as that header.
  576.  
  577.  
  578. It typically denotes a company affiliation.
  579.  
  580.  
  581. @EndNode
  582.  
  583. @Node newsdir "Configuration - NewsDir"
  584.  
  585.  
  586. Local Environment:    set newsdir INet:News
  587.  
  588. Global Environment:    setenv newsdir INet:News
  589.  
  590. Configuration File:    NewsDir INet:News
  591.  
  592. Default I-Net 225:    INet:News
  593.  
  594. Default AmiTCP:     AmiTCP:News
  595.  
  596. Default UUCP:        UUNews:
  597.  
  598.  
  599. @{b}NewsDir@{ub} is where transferred news articles are stored.
  600.  
  601.  
  602. @EndNode
  603.  
  604. @Node nntprnews "Configuration - NNTPRnews"
  605.  
  606.  
  607. Local Environment:    set nntprnews uucp:c/news -p
  608.  
  609. Global Environment:    setenv nntprnews uucp:c/rnews -p
  610.  
  611. Configuration File:    NNTPRNews uucp:c/rnews -p
  612.  
  613. Default:        none
  614.  
  615.  
  616. @{b}NNTPxfer@{ub} supports a configuration variable named @{b}NNTPRNEWS@{ub}. When
  617. defined, @{b}NNTPxfer@{ub} will call that program, with each incoming news
  618. article on standard input, and allow it to file that article. This
  619. allows the input to be filed along with UUCP news, and vice versa.
  620.  
  621.  
  622. For example, to be used with the AmigaUUCP RNEWS, the definition
  623. would be:
  624.  
  625.  
  626.     SetEnv NNTPRNews uucp:c/rnews -p
  627.  
  628.  
  629. with the -p indicating that this is a "postnews" call. Note that for
  630. maximum speed and efficiency, RNEWS should be a resident program.
  631.  
  632.  
  633. If the BATCH parameter is set for @{b}NNTPXfer@{ub}, then the correct setting would be:
  634.  
  635.  
  636.     SetEnv NNTPRNews uucp:c/rnews
  637.  
  638.  
  639. since more than one article will be contained in the input to RNEWS.
  640. Using the BATCH mode is much more efficient for a large feed than
  641. otherwise.
  642.  
  643.  
  644. @EndNode
  645.  
  646. @Node nntpserver "Configuration - NNTPServer"
  647.  
  648.  
  649. Local Environment:    set nntpserver news.somedomain.com
  650.  
  651. Global Environment:    setenv nntpserver news.somedomain.com
  652.  
  653. Configuration File:    NNTPServer news.somedomain.com
  654.  
  655. Default:        none
  656.  
  657.  
  658. To transfer articles via NNTP (Network News Transfer Protocol) requires
  659. that they be obtained from another computer. That other computer is the
  660. @{b}NNTPServer@{ub}.
  661.  
  662.  
  663. Your network provider will have to tell you the correct value to set
  664. for the @{b}NNTPServer@{ub}.
  665.  
  666.  
  667. @EndNode
  668.  
  669. @Node nntpuserid "Configuration - NNTPUserid"
  670.  
  671.  
  672. Local Environment:    set nntpuserid mbs
  673.  
  674. Global Environment:    setenv nntpuserid mbs
  675.  
  676. Configuration File:    NNTPUserid mbs
  677.  
  678. Default:        none
  679.  
  680.  
  681. Most network providers will not allow anonymous or unauthorized access
  682. to their NNTP server. Using the @{b}NNTPUserid@{ub} and @{b}NNTPPassword@{ub} configuration
  683. variables allows you to identify yourself to the NNTP server, based on the
  684. "AUTHINFO USER" protocol.
  685.  
  686.  
  687. Your network provider will assign you a @{b}NNTPUserid@{ub} and an @{b}NNTPPassword@{ub}.
  688.  
  689.  
  690. @EndNode
  691.  
  692. @Node nntppassword "Configuration - NNTPPassword"
  693.  
  694.  
  695. Local Environment:    set nntppassword somepassword
  696.  
  697. Global Environment:    setenv nntppassword somepassword
  698.  
  699. Configuration File:    NNTPPassword somepassword
  700.  
  701. Default:        none
  702.  
  703.  
  704. Most network providers will not allow anonymous or unauthorized access
  705. to their NNTP server. Using the @{b}NNTPUserid@{ub} and @{b}NNTPPassword@{ub} configuration
  706. variables allows you to identify yourself to the NNTP server, based on the
  707. "AUTHINFO USER" protocol.
  708.  
  709.  
  710. Your network provider will assign you a @{b}NNTPUserid@{ub} and an @{b}NNTPPassword@{ub}.
  711.  
  712.  
  713. @EndNode
  714.  
  715. @Node smtppost "Configuration - SMTPPost"
  716.  
  717.  
  718. Local Environment:    set smtppost INet:c/smtppost
  719.  
  720. Global Environment:    setenv smtppost INet:c/smtppost
  721.  
  722. Configuration File:    SMTPPost INet:c/SMTPPost
  723.  
  724. Default:        SMTPpost
  725.  
  726.  
  727. Setting this allows you to identify where the @{b}SMTPPost@{ub} binary
  728. resides, if it is not in your default path.
  729.  
  730.  
  731. @EndNode
  732.  
  733. @Node smtpspooldir "Configuration - SMTPSpoolDir"
  734.  
  735.  
  736. Local Environment:    set smtpspooldir INet:MailSpool
  737.  
  738. Global Environment:    setenv smtpspooldir INet:MailSpool
  739.  
  740. Configuration File:    SMTPSpoolDir INet:MailSpool
  741.  
  742. Default I-Net 225:    INet:MailSpool
  743.  
  744. Default AmiTCP:     AmiTCP:MailSpool
  745.  
  746.  
  747. @{b}SMTPSpoolDir@{ub} is the directory where SMTP spool files are to be
  748. located. If @{b}SMTPpost@{ub} cannot locate a destination host, it places
  749. the articles in this directory, and retries sending the messages on
  750. a regular basis. It @{u}may not@{uu} be shared with the UUCP spool directory, as the
  751. batch files are of a different format.
  752.  
  753.  
  754. This directory must exist.
  755.  
  756.  
  757. @EndNode
  758.  
  759. @Node smtpmaildir "Configuration - SMTPMailDir"
  760.  
  761.  
  762. Local Environment:    set smtpmaildir INet:Mail
  763.  
  764. Global Environment:    setenv smtpmaildir INet:Mail
  765.  
  766. Configuration File:    SMTPMailDir INet:Mail
  767.  
  768. Default I-Net 225:    INet:Mail
  769.  
  770. Default AmiTCP:     AmiTCP:Mail
  771.  
  772. Default UUCP:        UUMail:
  773.  
  774.  
  775. The directory where local mail is to be stored. This directory must
  776. exist.
  777.  
  778.  
  779. This directory may be shared with UUCP mailboxes and folders.
  780.  
  781.  
  782. @EndNode
  783.  
  784. @Node smtpsmarterhost "Configuration - SMTPSmarterHost"
  785.  
  786.  
  787. Local Environment:    set smtpsmarterhost dummy
  788.  
  789. Global Environment:    setenv smtpsmarterhost dummy
  790.  
  791. Configuration File:    SMTPSmarterHost dummy
  792.  
  793. Default:        none
  794.  
  795.  
  796. @{b}SMTPSmarterHost@{ub} is a SMTP host where mail is sent if a destination
  797. host named in an address is not reachable. It is presumed to be an
  798. Internet host which has better routing information than does the host
  799. running this @{b}SMTPd@{ub}. If not specified, no smarterhost routing will
  800. be done.
  801.  
  802.  
  803. @EndNode
  804.  
  805. @Node smtprmail "Configuration - SMTPRMail"
  806.  
  807.  
  808. Local Environment:    set smtprmail uucp:c/sendmail -r
  809.  
  810. Global Environment:    setenv smtprmail uucp:c/sendmail -r
  811.  
  812. Configuration File:    SMTPRMail uucp:c/sendmail -r
  813.  
  814. Default:        SMTPPost -r
  815.  
  816.  
  817. @{b}SMTPRMail@{ub} defines the program that will deliver mail which was
  818. destined for this host. Typically, it is a copy of @{b}SMTPpost@{ub}, renamed
  819. to RSMTP or SMTPpost with the -r argument.
  820.  
  821.  
  822. @EndNode
  823.  
  824. @Node smtpdelay "Configuration - SMTPDelay"
  825.  
  826.  
  827. Local Environment:    set smtpdelay 30
  828.  
  829. Global Environment:    setenv smtpdelay 30
  830.  
  831. Configuration File:    SMTPDelay 30
  832.  
  833. Default:        120
  834.  
  835.  
  836. @{b}SMTPd@{ub} uses the @{b}SMTPDelay@{ub} environment variable to determine how long
  837. to wait between scans of @{b}SMTPSpoolDir@{ub}. The
  838. default value causes @{b}SMTPd@{ub} to wait two minutes between each scan of the
  839. spool directory. Note that @{b}SMTPd@{ub} will not try to ship a specific
  840. file more often than two times @{b}SMTPDelay@{ub}. That is, for the default,
  841. a file will not be attempted more often than once every four minutes.
  842.  
  843.  
  844. @EndNode
  845.  
  846. @Node smtproute "Configuration - SMTPRoute"
  847.  
  848.  
  849. Local Environment:    set smtproute mx,smtp
  850.  
  851. Global Environment:    setenv smtproute mx,smtp
  852.  
  853. Configuration File:    SMTPRoute mx,smtp
  854.  
  855. Default:        mx,smtp,smarterhost,uucp
  856.  
  857.  
  858. @{b}SMTPRoute@{ub} may have any of four values, comma or space separated.
  859. The values are:
  860.  
  861.  
  862.     MX
  863.  
  864.     SMTP
  865.  
  866.     SmarterHost
  867.  
  868.     UUCP
  869.  
  870.  
  871. These values control the way @{b}SMTPpost@{ub} attempts to deliver mail to
  872. remote hosts.
  873.  
  874.  
  875. MX indicates to use the MX record (from DNS) to deliver the mail
  876. to the destination host via the forwarding host specified in the
  877. MX record.
  878.  
  879.  
  880. SMTP indicates to attempt to deliver the mail directly to the
  881. remote host.
  882.  
  883.  
  884. SmarterHost indicates to deliver the mail to the host specified
  885. as the @{b}SMTPSmarterHost@{ub} configuration variable. If @{b}SMTPSmarterHost@{ub} is
  886. not specified, then this type of transfer will not occur, and
  887. a warning will be issued if Smarterhost is specified.
  888.  
  889.  
  890. UUCP indicates to deliver the mail using the mail program specified
  891. as the @{b}UUCPSendMail@{ub} configuration variable. If @{b}UUCPSendMail@{ub} is not
  892. specified, then this type of transfer will not occur, and a warning
  893. will be issued if UUCP is specified.
  894.  
  895.  
  896. Note: the freeware version of @{b}SMTPpost@{ub} in INetUtils 1.4 only utilized the first
  897. MX record for any destination host.
  898.  
  899.  
  900. @EndNode
  901.  
  902. @Node smtpalwaysqueue "Configuration - SMTPAlwaysQueue"
  903.  
  904.  
  905. Local Environment:    set smtpalwaysqueue y
  906.  
  907. Global Environment:    setenv smtpalwaysqueue y
  908.  
  909. Configuration File:    SMTPAlwaysQueue yes
  910.  
  911. Default:        no
  912.  
  913.  
  914. When set to "yes", then @{b}SMTPpost@{ub} will act as if -Q was passed.
  915. The default is "no".
  916.  
  917.  
  918. When set, @{b}SMTPpost@{ub} will not attempt to deliver mail directly,
  919. but will allow @{b}SMTPd@{ub} to process the mail as part of it's regular
  920. cycle.
  921.  
  922.  
  923. This has the advantage of crash protection -- if a mail message does
  924. not go through @{b}SMTPd@{ub}, then it may reside only in memory. If the computer
  925. crashes for any reason while @{b}SMTPPost@{ub} is processing a message, then it
  926. is "lost". If it is queued on disk, then it will still exist, and will
  927. be reprocessed later.
  928.  
  929.  
  930. @EndNode
  931.  
  932. @Node hostaliases "Configuration - HostAliases"
  933.  
  934.  
  935. Local Environment:    set hostaliases othercomputer.com
  936.  
  937. Global Environment:    setenv hostaliases othercomputer.com
  938.  
  939. Configuration File:    HostAliases othercomputer.com
  940.  
  941. Default:        none
  942.  
  943.  
  944. The @{b}HostAliases@{ub} variable contains other hostnames which are the
  945. local host. For example, if your host is "x.y.z", but you also
  946. need to accept mail to "zz.zz" as local to you, you should set
  947. that in @{b}HostAliases@{ub}.
  948.  
  949.  
  950. In general, put "localhost,[ip.address],ip.address" plus any
  951. others into @{b}HostAliases@{ub}.
  952.  
  953.  
  954. The comparison is *not* case sensitive.
  955.  
  956.  
  957. Note: The freeware version of @{b}SMTPpost@{ub} in INetUtils 1.4 only allowed two
  958. entries in @{b}Hostaliases@{ub}.
  959.  
  960.  
  961. @EndNode
  962.  
  963. @Node smartfrom "Configuration - SmartFrom"
  964.  
  965.  
  966. Local Environment:    set smartfrom y
  967.  
  968. Global Environment:    setenv smartfrom y
  969.  
  970. Configuration File:    SmartFrom yes
  971.  
  972. Default:        no
  973.  
  974.  
  975. The very first line of a mail message is the envelope. This
  976. option controls the format of the envelope. Normally, it
  977. looks like this (with "SmartFrom no"):
  978.  
  979.  
  980.     From mbs Sat Jul 1 1995 17:42:12 (EST) remote from mycomputer.com
  981.  
  982.  
  983. and with "SmartFrom yes", it looks like this:
  984.  
  985.  
  986.     From mbs@mycomputer.com Sat Jul 1 1995 17:42:12 (EST)
  987.  
  988.  
  989. which is relevant to some mail readers (but very few).
  990.  
  991.  
  992. Note that this is @{u}not@{uu} the same thing as the "From:" header.
  993.  
  994.  
  995. "SmartUUCP" is a deprecated synonym for @{b}SmartFrom@{ub}.
  996.  
  997.  
  998. @EndNode
  999.  
  1000. @Node checkuser "Configuration - CheckUser"
  1001.  
  1002.  
  1003. Local Environment:    set checkuser INet:c/checkuser
  1004.  
  1005. Global Environment:    setenv checkuser INet:c/checkuser
  1006.  
  1007. Configuration File:    CheckUser INet:c/CheckUser
  1008.  
  1009. Default:        none
  1010.  
  1011.  
  1012. The @{b}CheckUser@{ub} variable defines a program which is executed for
  1013. each piece of incoming mail to validate whether the destination user actually
  1014. exists. To wit:
  1015.  
  1016.  
  1017.         CheckUser userid
  1018.  
  1019.  
  1020. @{b}SMTPpost@{ub} checks the first character of standard output from the
  1021. program (stdout). If it is a '*', then the user is deemed invalid.
  1022. Any other output is defined as the fully-specified filename to
  1023. be used as the mailbox for the destination user.
  1024.  
  1025.  
  1026. Note: this feature is not available in the freeware version of
  1027. @{b}SMTPpost@{ub} in INetUtils 1.4.
  1028.  
  1029.  
  1030. @EndNode
  1031.  
  1032. @Node timezone "Configuration - TimeZone"
  1033.  
  1034.  
  1035. Local Environment:    set timezone (+0400)
  1036.  
  1037. Global Environment:    setenv timezone (+0400)
  1038.  
  1039. Configuration File:    TimeZone (+0400)
  1040.  
  1041. Default:        none
  1042.  
  1043.  
  1044. When required to generate a Date: header, @{b}SMTPpost@{ub} and @{b}NNTPpost@{ub} will generate
  1045. an ARPA date-time stamp as specified in RFC-822 (and modified by
  1046. RFC-1123). This is the format:
  1047.  
  1048.  
  1049.     Wed, 13 Oct 1993 18:52:04 EST
  1050.  
  1051.  
  1052. The @{b}TimeZone@{ub} variable would contain, for example, the "EST" as
  1053. shown above.
  1054.  
  1055.  
  1056. There are relatively few "legal" timezones specified in the
  1057. RFC. Some mail systems, and similarly some news systems, will
  1058. reject a Date which does not have a legal @{b}TimeZone@{ub}. To ensure
  1059. this "legality" a @{b}TimeZone@{ub} of the form:
  1060.  
  1061.  
  1062.     (+0500)
  1063.  
  1064.  
  1065. is preferred, @{u}with@{uu} the literal parentheses. The resulting
  1066. header would be:
  1067.  
  1068.  
  1069.     Wed, 13 Oct 1993 18:52:04 (+0500)
  1070.  
  1071.  
  1072. @EndNode
  1073.  
  1074. @Node uucpsendmail "Configuration - UUCPSendMail"
  1075.  
  1076.  
  1077. Local Environment:    set uucpsendmail uucp:c/rmail
  1078.  
  1079. Global Environment:    setenv uucpsendmail uucp:c/rmail
  1080.  
  1081. Configuration File:    UUCPSendMail uucp:c/rmail
  1082.  
  1083. Default:        none
  1084.  
  1085.  
  1086. If the @{b}SMTPRoute@{ub} variable includes UUCP as a part of it, then this
  1087. variable must be defined. It defines the program name of the UUCP
  1088. mail program (typically @{b}UUCP:C/RMail@{ub}).
  1089.  
  1090.  
  1091. @EndNode
  1092.  
  1093. @Node mailreadycmd "Configuration - MailReadyCMD"
  1094.  
  1095.  
  1096. Local Environment:    set mailreadycmd
  1097.  
  1098. Global Environment:    setenv mailreadycmd
  1099.  
  1100. Configuration File:    MailReadyCMD
  1101.  
  1102. Default:        none
  1103.  
  1104.  
  1105. @{b}SMTPpost@{ub} will attempt to run a command named by the
  1106. @{b}MailReadyCMD@{ub} configuration variable when delivering @{u}local@{uu} mail. The format
  1107. of the command is:
  1108.  
  1109.  
  1110.     MAILREADYCMD -x T:MailRdy
  1111.  
  1112.  
  1113. @{b}SMTPpost@{ub} will also cause the signal of a public message port named
  1114. "T:MailRdy" if it can be found.
  1115.  
  1116.  
  1117. @EndNode
  1118.  
  1119. @Node otherstuff "Configuration - Other Variables"
  1120.  
  1121.  
  1122. Other programs also use configuration information in the way described in this
  1123. document. Here are some common items used.
  1124. @{lindent 5}
  1125.  
  1126.  
  1127. ReplyTo
  1128. @{lindent 10}
  1129.  
  1130.  
  1131. Defines the address that an email reply to an email message or news article
  1132. should be sent to. For example:
  1133.  
  1134.  
  1135.     set ReplyTo mbs@somedomain.com
  1136. @{lindent 5}
  1137.  
  1138.  
  1139. WWW_Home
  1140. @{lindent 10}
  1141.  
  1142.  
  1143. The "Home Page" that should be accessed when a user clicks on the "Home" button
  1144. in a Web browser.
  1145. @{lindent 5}
  1146.  
  1147.  
  1148. HTTP_Proxy
  1149. @{lindent 10}
  1150.  
  1151.  
  1152. In order to get through a firewall, many users have to redirect World Wide Web
  1153. requests. This one allows a HTTP request to be redirected.
  1154. @{lindent 5}
  1155.  
  1156.  
  1157. FTP_Proxy
  1158. @{lindent 10}
  1159.  
  1160.  
  1161. In order to get through a firewall, many users have to redirect World Wide Web
  1162. requests. This one allows a FTP request to be redirected.
  1163. @{lindent 5}
  1164.  
  1165.  
  1166. GOPHER_Proxy
  1167. @{lindent 10}
  1168.  
  1169.  
  1170. In order to get through a firewall, many users have to redirect World Wide Web
  1171. requests. This one allows a Gopher request to be redirected.
  1172. @{lindent 5}
  1173.  
  1174.  
  1175. PopHost
  1176. @{lindent 10}
  1177.  
  1178.  
  1179. Some POP-mail clients use PopHost to the define the computer to access
  1180. to get POP mail.
  1181. @{lindent 5}
  1182.  
  1183.  
  1184. PopUser
  1185. @{lindent 10}
  1186.  
  1187.  
  1188. Some POP-mail clients use PopUser as the authorization name sent
  1189. to the POP host.
  1190. @{lindent 5}
  1191.  
  1192.  
  1193. PopPassword
  1194. @{lindent 10}
  1195.  
  1196.  
  1197. Some POP-mail clients use PopPassword as the password for "PopUser".
  1198.  
  1199.  
  1200. @EndNode
  1201.